<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>后台管理</title>
    <link rel="shortcut icon" href="/favicona.ico" type="image/x-icon" />
    <link rel="stylesheet" href="/static/layui/src/css/layui.css">
    <script src="/static/layui/src/layui.js"></script>
    <script src="/static/common/js/dj.js?v=3"></script>
    <script src="/static/common/js/selfLayui.js?v=2"></script>

    <script>
        layui.config({version: <?php echo time();?>});
    </script>

    <style type="text/css">
        body {
            background-color: #eee;
            padding: 10px;
        }
        .layui-input-inline-long {
            float: left;
            width: 600px;
            margin-right: 10px;
        }
        .layui-table-cell {
            height: auto ;
            white-space: normal;
            word-wrap:break-word;
        }
    </style>
</head>

<script type="text/html" id="indexTpl">
	@{{d.LAY_TABLE_INDEX+1}}
</script>

<script type="text/javascript">
    layui.config({
        base: '{$base_url_static}/common/js/layui_exts/'
    }).extend({
        selectInput: 'selectInput/selectInput'
    });
    layui.use(['form'], function() {
        const form = layui.form;

        //常规表单验证
        form.verify({
            lengthCheck10: lengthCheck10,
            lengthCheck30: lengthCheck30,
            lengthCheck120: lengthCheck120,
        });
    });
</script>

@yield('content')

<script>
    layui.use('element', function() {
        const $ = layui.$

        // 点击空白关闭弹窗
        function closeOpen() {
            $('body').on('click', '.layui-layer-shade', function () {
                layer.close(layer.index);
            })
        }
        closeOpen()
    })
    /*



     */
</script>
</html>
